An OpenModelica Python Interface and its use in PySimulator

نویسندگان

  • Anand Kalaiarasi Ganeson
  • Peter Fritzson
  • Olena Rogovchenko
  • Adeel Asghar
  • Martin Sjölund
  • Andreas Pfeiffer
چکیده

How can Python users be empowered with the robust simulation, compilation and scripting abilities of a nonproprietary object-oriented, equation based modeling language such as Modelica? The immediate objective of this work is to develop an application programming interface for the OpenModelica modeling and simulation environment that would bridge the gap between the two agile programming languages Python and Modelica. The Python interface to OpenModelica – OMPython, is both a tool and a functional library that allows Python users to realize the full capabilities of OpenModelica's scripting and simulation environment requiring minimal setup actions. OMPython is designed to combine both the simulation and model building processes. Thus domain experts (people writing the models) and computational engineers (people writing the solver code) can work on one unified tool that is industrially viable for optimization of Modelica models, while offering a flexible platform for algorithm development and research.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

OpenModelica-Python Interoperability Applied to Monte Carlo Simulation

During recent years the interest in computer aided modeling and simulation of complex multi-domain systems have increased significantly. The evolution of the declarative equation-based object-oriented (EOO) modeling language Modelica is a prime example of such a trend. The inherent acausal modeling possibilities and the hybrid modeling capabilities are two features that make Modelica superior. ...

متن کامل

An OpenModelica Java External Function Interface Supporting MetaProgramming

A complete Java interface to OpenModelica has been created, supporting both standard Modelica and the metamodeling extensions in MetaModelica. It is bidirectional, and capable of passing both standard Modelica data types, as well as abstract syntax trees and list structures to and from Java and process them in either Java or the OpenModelica Compiler. It currently uses the existing CORBA interf...

متن کامل

Usage of the Python Programming Language in the CMS Experiment

Being a highly dynamic language and allowing reliable programming with quick turnarounds, Python is a widely used programming language in CMS. Most of the tools used in workflow management and the GRID interface tools are written in this language. Also most of the tools used in the context of release management: integration builds, release building and deploying, as well as performance measurem...

متن کامل

Meta Programming and Function Overloading in OpenModelica

The OpenModelica framework is an Open Source effort for building a complete compiler for Modelica started at the programming environments laboratory at Linköping university. It is written in a language called RML [10], Relational Meta Language, based on natural semantics. Natural semantics is a popular formalism for describing the semantics (i.e. the meaning of language constructs) for compiler...

متن کامل

Tool Demonstration Abstract: OpenModelica Graphical Editor and Debugger

This paper demonstrates the OpenModelica graphic editor for easy-to-use graphic modeling of Modelica models and the Modelica debugger. The graphic editor aims at providing a user friendly open source Modelica modeling graphical user interface since most of the already existing open source tools were either textual or not so user friendly. The target audiences for the tool are the Modelica users...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012